﻿import enLocale from 'element-ui/lib/locale/lang/en'
const en = {
    label: {
        sysName: 'CMS System',
        copyright: "©Copyright ISPR Limited Liability Company all",
        mainPage: "home page",
        logo: "User Logo",
        CN_label: "Chinese",
        EN_label: "English",
        loginName: "username",
        pwd: "password",
        language: "language",
        all: "ALL",
        available: "Available",
        invalid: "Invalid",
        dialogTitle: "Edit Panel",
    },
    queryLabel: {
        role: {
            code: "角色编码",
            placeholderCode: "请输入角色编码",
            name: "角色名称",
            placeholderName: "请输入角色名称",
            isEnabled: "是否可用",
        }
    },
    editLabel: {
        role: {
            code: "角色编码",
            placeholderCode: "请输入角色编码",
            name: "角色名称",
            placeholderName: "请输入角色名称",
            isEnabled: "是否可用",
            enName: "角色英文名称",
            placeholderEnName: "请输入角色英文名称",
            desc: "角色描述",
            placeholderDesc: "请输入角色描述",
        }
    },
    btnText: {
        loginBtnText: 'Login',
        updatePwdBtnText: "Password modification",
        logoffBtnText: "Exit system",
    },
    table: {
        xh: "No.",
        op: "操作",
        isEnabled: "是否可用",
        lastUpdatedBy: "最后修改人",
        lastUpdateTime: "最后修改时间",
        role: {
            code: "角色编码",
            name: "角色名称",
            enName: "英文名称",
            desc: "描述",
        },
    },
    ph: {
        pwdTip: 'password',
        userNameTip: 'enter user name',
    },
    rules: {
        login: {
            Name: "Please enter the username",
            Pwd: "Please input a password"
        },
        role: {
            code: "请输入角色编码",
            name: "请输入角色名称",
            enName: "请输入角色英文名称",
            desc: "请输入角色描述"
        }
    },
    message: {
        successTip: "Successful operation"
    },
    errorCode: {
        serverError: "The operation failed and the server could not be connected. Please check the network",
        unknownError: "Unknown Error",
        userNameOrPwdError: "User Name Or Password Error",
        accountDiscontinued: "Account Suspended",
        jsonFormatError: "Json Format Error",
        userNameMissing: "User Name Missing",
        appTypeMissing: "appType Missing",
        upDateNoCountException: "Updating failed,please refresh and try again",
        tokenCodeMissing: "TokenCode Missing",
        tokenCodeNotExists: "TokenCode Not Existing",
        languageMissing: "Language Key Missing",
        groupCodeMissing: "Group Key Missing",
        keyIDMissing: "Key ID Missing",
        classNameMissing: "Class Name Missing",
        argsMissing: "Parameter Missing",
        dataExistsError: "Data Exist, operation failed",
    },
    ...enLocale
}

export default en